package com.cangshi.entity;

import java.util.List;

/**
 * Created by Eoly on 2017/1/16.
 * 一个json对象模型
 */
public class JsonObject<T> {

    private Integer error;
    private String Mes;
    private Integer id;
    private T data;
    private List<T> dataList;

    public Integer getError() {
        return error;
    }

    public void setError(Integer error) {
        this.error = error;
    }

    public String getMes() {
        return Mes;
    }

    public void setMes(String mes) {
        Mes = mes;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    public List<T> getDataList() {
        return dataList;
    }

    public void setDataList(List<T> dataList) {
        this.dataList = dataList;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
}
